        <table style="width:100%;" cellspacing="0" cellpadding="4">
        <tr>
        <td style="font-size:7pt;" class="border2">

            <table style="width:100%;" class="mainmenu5" cellspacing="0" cellpadding="4">
            <tr>
            <td style="font-size:8pt;">
                <b>NEW BLOGS</b>

            </td>            
            </tr>
            </table>
<div class="submenu" id="sub8">
 				<table style="width:100%;height:270px;" cellspacing="0" cellpadding="0">
 				<tr>
 				<td style="font-size:7pt;vertical-align:top;">
 					<br />
{foreach from=$aItems item=aItem name=aitems}
<table style="width:100%;" class="border5">	
	<tr>
		<td style="width:5%;">
            {module module="Account" component="Avatar" sUser=$aItem.user iSize=20 alt="" class="pic1" onmouseover="showInfo5('`$aItem.user`', '', '');this.className='pic2';" onmouseout="this.className='pic1';return nd();"}
 		</td>
 		<td class="color" style="font-size:7pt;vertical-align:top;width:95%;">
 			<a href="{url link='public.blog.view' id=$aItem.id}">{$aItem.title|escape|wordwrap:60:"<br />":true}</a>
 			<div>BY:{$aItem.user} | Category: {$aItem.gcatagory|default:'None'|escape}</div>
			<div>Mood: {$aItem.jmood} | Date: {$aItem.time|date_format:$sDateTimeFormat}</div>			
 		</td>
 	</tr>
</table>
<br/>
{foreachelse}
<div style="font-weight:bold;color:green;padding:5px;font-size:11px;text-align:center;">
There are no blogs!
</div>
{/foreach}
 					<br/> 				</td>
 				</tr>
 				<tr>
 				<td style="vertical-align: bottom;">
 					<div style="font-size:7pt;text-align:right;">
 					<a href="{url link='public.account.submit.add-blog'}">ADD YOUR BLOG</a>
 					</div>
 				</td>
 				</tr>
 				</table>
 				</div>
                    </td>
        </tr>

        </table>
        <br />